@extends('admin.layout')
@section('content')
<div class="content-wrapper" style="min-height: 1096px;">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                用户详情
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> 主页</a></li>
                <li><a href="#">用户管理</a></li>
                <li class="active">用户详情</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
                
            <div class="row">
                <div class="col-md-3">

                    <!-- Profile Image -->
                    <div class="box box-primary">
                        <div class="box-body box-profile">
                            <img alt="User profile picture" src="{{ url('/uploads') }}/{{ $data -> img_u }}" class="profile-user-img img-responsive img-circle">
                            <h3 class="profile-username text-center">{{ $data -> username }}</h3>
                            <p class="text-muted text-center">{{ $data -> position }}</p>

                            <ul class="list-group list-group-unbordered">
                                <li class="list-group-item">
                                    <b>发布评论数量</b> <a class="pull-right">{{ $data -> title_num }}</a>
                                </li>
                                <li class="list-group-item">
                                    <b>注册时间</b> <a class="pull-right">{{ date('20y-m-d H:i:s', $data -> ftime) }}</a>
                                </li>
                                <li class="list-group-item">
                                    <b>最后登录时间</b> <a class="pull-right">{{ date('20y-m-d H:i:s', $data -> ltime) }}</a>
                                </li>
                            </ul>

                            
                        </div><!-- /.box-body -->
                    </div><!-- /.box -->

                    <!-- About Me Box -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">用户信息</h3>
                        </div><!-- /.box-header -->
                        <div class="box-body">
                            <strong><i class="fa fa-book margin-r-5"></i>真实姓名</strong>
                            <p class="text-muted">
                                {{ $data -> realname }}
                            </p>
                            <strong><i class="fa fa-map-marker margin-r-5"></i>公司</strong>
                                <p class="text-muted">{{ $data -> company }}</p> 
                            <strong><i class="fa fa-pencil margin-r-5"></i>联系方式</strong>
                                <p class="text-muted">{{ $data -> phone_num }}</p> 
                                <p class="text-muted">{{ $data -> email }}</p> 
                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div><!-- /.col -->
                <div class="col-md-9">
                    <div class="nav-tabs-custom">
                        <ul class="nav nav-tabs">
                            <li class="active"><a data-toggle="tab" href="#activity">发布的评论</a></li>
                            <li><a data-toggle="tab" href="#timeline">看过的文章</a></li>
                        </ul>
                        <div class="tab-content">
                            <div id="activity" class="active tab-pane">
                                <!-- Post -->
                                <div class="post">
                                    <div class="user-block">
                                        
                        <span class="username">
                          <a href="#">评论的文章标题</a>
                          <a class="pull-right btn-box-tool" href="#"></a>
                        </span>
                                        <span class="description">2016-9-23 13:11:21</span>
                                    </div><!-- /.user-block -->
                                    <p>
                                        跟上一篇一样，我想以一个宽泛的问题来开始我们的讨论。试想，你可以穿越回到上世纪 80 年代中期，当 Prodigy 和 Q-Link 之类的早期网络服务还处于萌芽阶段，而个人电脑处于王安和 DEC 计算机阴影下的时代即将结束。
                                    </p>
                                    <ul class="list-inline">
                                                                               
                                        <li class="pull-right"><a class="link-black text-sm" href="#"><i class="fa fa-comments-o margin-r-5"></i>回复</a></li>
                                    </ul>

                                    <input type="text" placeholder="输入内容" class="form-control input-sm">
                                </div><!-- /.post -->

                            </div><!-- /.tab-pane -->
                            <div id="timeline" class="tab-pane">
                                <!-- The timeline -->
                                <ul class="timeline timeline-inverse">
                                    <!-- timeline time label -->
                           
                                   <div class="user-block">                                        
                                        <span class="username">
                                          <a href="#">评论的文章标题</a>
                                          <a class="pull-right btn-box-tool" href="#"></a>
                                        </span>
                                        <span class="description">2016-9-23 13:11:21</span>
                                    </div><!-- /.user-block -->
                                    
                                </ul>
                            </div><!-- /.tab-pane -->

                            <d
                        </div><!-- /.tab-content -->
                    </div><!-- /.nav-tabs-custom -->
                </div><!-- /.col -->
            </div><!-- /.row -->

        </section><!-- /.content -->
    </div>
@endsection